#
# Be sure to run `pod lib lint gwmfcTools.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
    s.name             = 'gwmfcTools'
    s.version          = '0.2.0'
    s.summary          = 'gning because the target does not have an Info.plist file and one is not being'
    
    # This description is used to generate tags and improve search results.
    #   * Think: What does it do? Why did you write it? What is the focus?
    #   * Try to keep it short, snappy and to the point.
    #   * Write the description between the DESC delimiters below.
    #   * Finally, don't worry about the indent, CocoaPods strips it!
    
    s.description      = <<-DESC
    TODO:Skipping code signing because the target does not have an Info.plist file and one is not being generated
    DESC
    
    s.homepage         = 'https://gitee.com/gwf--/gwmfcCommon'
    # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
    s.license          = { :type => 'MIT', :file => 'LICENSE' }
    s.author           = { 'gwf903143001' => 'guweifeng@gwmfc.com' }
    s.source           = { :git => 'https://gitee.com/gwf--/gwmfcCommon.git', :tag => s.version.to_s }
    # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
    
    s.ios.deployment_target = '11.0'
    
    s.requires_arc = true
#    s.resource_bundles = {
#                'gwmfcTools' => ['gwmfcTools/Assets/**/*']
#            }
#    s.public_header_files = 'gwmfcTools/Classes/**/*.h'
#    s.prefix_header_contents = '#import <Masonry/Masonry.h>'
#    s.public_header_files = 'gwmfcTools/*.h'
#    s.prefix_header_contents = '#import "Macros.h"'
    
    s.subspec 'OCClass' do |oc|
#          oc.public_header_files = 'gwmfcTools/Classes/OCClass/**/*.h'
#          oc.prefix_header_contents = '#import "Macros.h"'
         
          oc.subspec 'Category' do |cc|
             cc.prefix_header_contents = '#import "NSObject+ClearNull.h"'
#             cc.public_header_files = 'gwmfcTools/Classes/OCClass/Category/**/*.h'
             cc.source_files = 'gwmfcTools/Classes/OCClass/Category/*'
          end
          oc.subspec 'Toos' do |cc|
          #             cc.prefix_header_contents = '#import <Masonry/Masonry.h>'
          #             cc.public_header_files = 'gwmfcTools/Classes/OCClass/Toos/**/*.h'
                       cc.source_files = 'gwmfcTools/Classes/OCClass/Toos/*'
                       cc.dependency 'FMDB'
                       cc.dependency 'gwmfcTools/OCClass/Category'
                    end
          oc.subspec 'CustomUI' do |cc|
#             cc.prefix_header_contents = '#import "Macros.h"'
#             cc.public_header_files = 'gwmfcTools/Classes/OCClass/CustomUI/**/*.h'
             cc.prefix_header_contents = '#import <Masonry/Masonry.h>'
             cc.source_files = ['gwmfcTools/Classes/OCClass/CustomUI/*','gwmfcTools/Classes/OCClass/CustomUI/**/*']
             cc.dependency 'Masonry'
             cc.dependency 'gwmfcTools/OCClass/Toos'
          end
          
          
    end
#    s.subspec 'SwiftClass' do |sc|
##        sc.source_files = 'gwmfcTools/Classes/SwiftClass/**/*.swift'
#        sc.subspec 'CustomSwiftTools' do |cc|
#           cc.source_files = 'gwmfcTools/Classes/SwiftClass/CustomSwiftTools/**/*.swift'
#           cc.dependency 'RGAppTools'
#        end
        
#        
#        
#    end
    
#    s.prefix_header_contents = '#import <Masonry/Masonry.h>','#import "NSObject+ClearNull.h"'
#    s.resource_bundles = {
#        'ProjectTools' => ['ProjectTools/Assets/*']
#    }
    
#    s.public_header_files = 'Pod/Classes/**/*.h'
#    s.frameworks = 'UIKit'
#
#    s.dependency 'MBProgressHUD'
#    s.dependency 'FMDB'
#    s.dependency 'Masonry'
    
    # s.resource_bundles = {
    #   'gwmfcTools' => ['gwmfcTools/Assets/*.png']
    # }
    
    # s.public_header_files = 'Pod/Classes/**/*.h'
    # s.frameworks = 'UIKit', 'MapKit'
    # s.dependency 'AFNetworking', '~> 2.3'
end
